package com.block.db.mapper;

import com.block.db.entity.AccountMerchantInfoHis;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.lettuce.core.dynamic.annotation.Param;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 渠道账户流水 Mapper 接口
 * </p>
 *
 * @author 
 * @since 2023-08-26
 */
public interface AccountMerchantInfoHisMapper extends BaseMapper<AccountMerchantInfoHis> {

    BigDecimal selectChongZhiAmount(@Param("infoId") Integer infoId, @Param("moth")String moth);

    BigDecimal selectbudanAmount(@Param("infoId") Integer infoId, @Param("moth")String moth);
    BigDecimal selcttuikuan(@Param("infoId") Integer infoId, @Param("moth")String moth);
    BigDecimal sectlbukou(@Param("infoId") Integer infoId, @Param("moth")String moth);
    BigDecimal selectxiaohao(@Param("infoId") Integer infoId, @Param("moth")String moth);

    List<Map<String, Object>> selectXhMapList(@Param("dateInfo") String dateInfo);

}
